package com.bootdo.blog.service;

import com.bootdo.blog.domain.WineDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-03-12 07:50:17
 */
public interface WineService {
	
	WineDO get(Integer wineId);
	
	List<WineDO> list(Map<String, Object> map);

	List<WineDO> list2(WineDO wineDO);
	
	int count(Map<String, Object> map);

	int count2(int status);
	
	int save(WineDO wine);
	
	int update(WineDO wine);
	
	int remove(Integer wineId);
	
	int batchRemove(Integer[] wineIds);
}
